from random import *


n = int(input())
skibidi = 0

for dop in range(n):
    x = randint(-100,100)
    y = randint(-100,100)

    if  x < -7 and y < -8 or x > 5 and y < -8 or x > 5 and y > 5 or x < - 7 and y > 5:
        pass
    else:
        skibidi = skibidi + 1

print("Amount of shots: ", n)
print("Amount of hits: ", skibidi)
